package com.ch.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ch.web.entity.user.XyTalkEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chenHao
 * @email 1429542285@qq.com
 * @date 2022-10-15 13:58:33
 */
@Mapper
public interface XyTalkDao extends BaseMapper<XyTalkEntity> {

    Long getLastTalkId();

    List<XyTalkEntity> selectListByTalkId(XyTalkEntity dto);
    List<XyTalkEntity> selectListByTalkIdEnd(XyTalkEntity dto);

}
